package com.spring.myspace.web.service;

import java.util.Map;

import com.spring.security.web.model.BaseResult;

public interface MySpaceService {
	Map<String, Object> createJournal(String mapAppType,String osType,String token, String c_family_id, String c_family_member_id, 
			String title, String content,String ispublic,String latitude,String longitude,String location) throws Exception;
	Map<String, Object> addJournalPhoto(String token, String my_space_journal_id,String c_family_member_id,
			String file) throws Exception;
	Map<String, Object> addJournalVideo(String token,String c_family_member_id, String my_space_journal_id,
			String file_id) throws Exception;
	Map<String, Object> addJournalVideoCover(String token, String my_space_video_id, String file_id,
			String c_family_member_id) throws Exception;
	Map<String, Object> getJournalList(String token, String c_family_member_id, 
			String page_size, String page_index, String skip, String rows) throws Exception;
	Map<String, Object> deleteJournal(String token,
			String my_space_journal_id) throws Exception;
	Map<String, Object> deleteJournalPhoto(String token,
			String photo) throws Exception ;
	Map<String, Object> deleteJournalVideo(String token,
			String video_id) throws Exception;
	Map<String, Object> updateJournal(String token, String my_space_journal_id, String title, String content) throws Exception;
	Map<String, Object> createAlbum(String token, String name, String desc, 
			String c_family_id, String c_family_member_id, String isfamily,String ispublic) throws Exception;
	Map<String, Object> addAlbumPhoto(String token, String my_space_album_id, 
			String c_family_member_id, String photo) throws Exception ;
	Map<String, Object> updateAlbumPhoto(String token, String photo_id, 
			String name) throws Exception;
	Map<String, Object> setAlbumCover(String token, String my_space_album_id,
			String file_id) throws Exception ;
	Map<String, Object> getAlbumList(String token, String isfamily, 
			String c_family_member_id, String c_family_id,String my_space_album_id) throws Exception;
	Map<String, Object> getAlbumPhotoList(String token, String my_space_album_id, 
			String page_size, String page_index, String skip, String rows) throws Exception ;
	Map<String, Object> deleteAlbumPhoto(String token,
			String photo) throws Exception;
	Map<String, Object> deleteAlbum(String token,
			String my_space_album_id) throws Exception;
	Map<String, Object> updateAlbum(String token, String name, String desc,
			String my_space_album_id) throws Exception ;
	Map<String, Object> addVideo(String token, String file_id, String c_family_member_id, 
			String c_family_id, String isfamily, String title, String content) throws Exception ;
	Map<String, Object> addVideoCover(String token, String video_id, String file_id, 
			String c_family_member_id) throws Exception;
	Map<String, Object> updateVideo(String token, String title, String content, 
			String video_id) throws Exception ;
	Map<String, Object> getVideoList(String token, String isfamily, 
			String c_family_member_id, String c_family_id, String page_size, 
			String page_index, String skip, String rows) throws Exception ;
	Map<String, Object> deleteVideo(String token,
			String video_id) throws Exception;
	
	BaseResult deleteTeacherJournal(String token,
			String my_space_journal_id) throws Exception;
}
